package learn.advance.system1;

import javax.swing.*;
import java.util.Arrays;
import java.util.Date;

class Demo1System{
    public static void Test(){
        Demo1();
        Demo2();
    }

    private static void Demo1(){
        int [] src={1,2,3,4,5,6};
        int [] dest={6,7,8,9,10};

        System.out.println("复制前："+ Arrays.toString(dest));

        System.arraycopy(src,0,dest,0,3);
        System.out.println("复制后："+ Arrays.toString(dest));
    }

    private static void Demo2(){
        long s=System.currentTimeMillis();
        System.out.println(s);
    }

}





public class TestSystem {
    public static void main(String[] args) {
        Demo1System.Test();
    }
}
